package org.tru42.signal.processors.converter;

import org.tru42.signal.lang.SObject;
import org.tru42.signal.lang.annotation.Signal;
import org.tru42.signal.lang.annotation.Sink;

public class NumberToString extends SObject {

	@Sink
	public void number(long timestamp, Number num) {
		string(timestamp, num.toString());
	}
	
	@Signal
	public void string(long timestamp, String string) {
		trigger("string", timestamp, string);
	}
	
}
